//
//  TapAssetView.h
//  用来标记每一个图库中的图片的显示，比如上面有Button等可以显示是否已经点击
//  供图片选择器每个组的子视图的自定义Cell使用
//
//  Created by Yangfan on 15/2/4.
//  Copyright (c) 2015年 4gread. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>

#define IS_IOS7             ([[[UIDevice currentDevice] systemVersion] compare:@"7.0" options:NSNumericSearch] != NSOrderedAscending)

@protocol TapAssetViewDelegate <NSObject>
-(void)touchSelect:(BOOL)select;
-(BOOL)shouldTap;
@end

@interface TapAssetView : UIView
@property(nonatomic,retain)UIImageView *selectView;
@property (nonatomic, assign) BOOL selected;
@property (nonatomic, assign) BOOL disabled;
@property (nonatomic, weak) id<TapAssetViewDelegate> delegate;
@end
